<style type="text/css">
    
    .fieldlist_vicky dd {
  display: block;
  margin: 5px 0;
}

.fieldlist_vicky dd input:nth-child(1) {
  margin-right: 32px;
}
.fieldlist_vicky dd input:nth-child(2) {
  margin-right: 35px;
}
.fieldlist_vicky dd>input{
  width: 70px;
  margin-right: 30px;
}

.fieldlist_vicky dd ins {
  width: 110px;
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
}
</style>
<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">商品信息:</label>
        <div class="col-xs-12 col-sm-8">
         <!-- {"0":{"name":"商品名称","unit_price":"单价","after_unit_price":"折后单价","origin_total_price":"原总价","after_total_price":"折后总价","ding_num":"订货数量","yifahuo":"已发货数量","weifahuo":"未发货数量"},"1":{"name":"商品名称","unit_price":"单价","after_unit_price":"折后单价","origin_total_price":"原总价","after_total_price":"折后总价","ding_num":"订货数量","yifahuo":"已发货数量","weifahuo":"未发货数量"}} -->
            <dl class="fieldlist_vicky" data-name="row[good_json]">
                <dd>
         
                </dd>
                <dd><a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> {:__('Append')}</a></dd>
                <textarea name="row[good_json]" data-rule="required" class="form-control hide" cols="30" rows="5"></textarea>
            </dl>


        </div>
    </div>        
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Client')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-client" data-rule="required" class="form-control" name="row[client]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Client_address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-client_address" data-rule="required" class="form-control" name="row[client_address]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Client_phone')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-client_phone" class="form-control" name="row[client_phone]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dingtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dingtime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[dingtime]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pay_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="payStatusList" item="vo"}
            <label for="row[pay_status]-{$key}"><input id="row[pay_status]-{$key}" name="row[pay_status]" type="radio" value="{$key}" {in name="key" value="10"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    
    <div class="form-group" id="shengyu" style="display: none">
        <label class="control-label col-xs-12 col-sm-2">剩余尾款:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shengyu" class="form-control" name="row[shengyu]" type="number" step="0.01" >
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
